#include "../includes/mystack.h"

int main(int argc, char **argv) {
    int arr[] = {7, 1, 3, 23, 634, 11, 99, 123, 2121, 1198};
    int size = 10;
    mystack *s = mystack_create(100);
    for (int i = 0; i < size; i++)
    {
        mystack_push(s, arr + i);
    }
    for (int i = 0; i < size; i++)
    {
        void *d = mystack_pop(s);
        printf("[pop] %d. %d\n", i, *(int *)d);
    }
    return 0;
}